package com.doculibre.constellio.connector.documents;


import java.util.Collections;

import com.google.enterprise.connector.spi.SpiConstants;

/**
 * Remove the document with the specified docId
 * @author francisbaril
 *
 */
public class RemoveDocument extends SmartDocument {

	public RemoveDocument(String docID) {
		super();
		put(SpiConstants.PROPNAME_DOCID, Collections.singletonList(docID));
		put(SpiConstants.PROPNAME_ACTION,  Collections.singletonList(SpiConstants.ActionType.DELETE.toString()));
	}

}
